package com.android.nurse;

/**
 * Age master obj for spinner
 * @author NamNT
 *
 */
public class AgeMaster {
	private String value;
	private String str = "選択してください";
	private int key;
	
	public void setStr(String str) {
		this.str = str;
	}
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	public int getKey() {
		return key;
	}
	public void setKey(int key) {
		this.key = key;
	}
	public String toString(){
		if(key == 0) {
			return str;
		}
		return (value);
	}
		
}
